//
//  UIImage+Add.h
//  HNSH_SingleProject
//
//  Created by 李宇廷 on 2023/2/18.
//

#import <UIKit/UIKit.h>

NS_ASSUME_NONNULL_BEGIN

@interface UIImage (Add)

/** 生成二维码 */
+ (CIImage *)creatQRcodeWithUrlstring:(NSString *)urlString;

/** 生成二维码 */
+ (UIImage *)createNonInterpolatedUIImageFormCIImage:(CIImage *)image withSize:(CGFloat)size;

// 创建一张渐变色图片
+ (UIImage *)createImageSize:(CGSize)imageSize gradientColors:(NSArray *)colors percentage:(NSArray *)percents;

@end

NS_ASSUME_NONNULL_END
